<%@ page contentType="text/html" language="java" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib  uri="/struts-tags" prefix="s"%>
<jsp:include page="../include/_dwz_form_head.jsp" />
<div class="pageHeader">
     <form rel="pagerForm" onsubmit="return navTabSearch(this);" action="costomer/CostomerList" method="post">
      <div class="searchBar">
        <table class="searchContent">
			<tr>
			<td >
					    客户名称：
            <input type="text" id="customername" name="b_T_Ufp_Customer.customername" value="${b_T_Ufp_Customer.customername}"/>
				</td>
				<td >
					    代表人：
                    <input type="text" id="representative" name="b_T_Ufp_Customer.representative" value="${b_T_Ufp_Customer.representative}"/>
				</td>
					<td >
					      联系电话 ：
                    <input type="text" id="iphone" name="b_T_Ufp_Customer.iphone" value="${b_T_Ufp_Customer.iphone}"/>
				</td>
			</tr>
	</table>
        <div class="subBar">
			<ul>
				  <li>
                        <div class="buttonActive">
                            <div class="buttonContent">
                                <button type="submit">
                                   		 搜索
                                </button>
                            </div>
                        </div>
                </li>
			</ul>
		</div>
		</div>
    </form>
    </div>
<div class="pageContent">
    <div class="panelBar">
        <ul class="toolBar">
            <li>
                <a class="add" href="costomer/CostomerDetail" target="navTab" rel="CostomerDetail"><span>添加</span></a>
            </li>
            <li>
                <a title="确实要删除这些记录吗?" target="selectedTodo" rel="checkIds" href="costomer/CostomerDel" class="delete"><span>删除</span></a>
          
            <li class="line">
                line
            </li>
           
        </ul>
    </div>
    
    <table class="table" width="100%" layoutH="123">
        <thead>
            <tr>
                <th width="1%">
                    <input type="checkbox" name="checkIds" group="checkIds" class="checkboxCtrl">
                </th>
                <th width="2%" >
              序号        
                </th>
                 <th width="10%" orderField="customername" <c:if test="${(pager.orderField)== 'customername' }">class="${pager.orderDirection}"</c:if>>
              客户名称
                </th>
                  <th width="10%" orderField="contractpartys" <c:if test="${(pager.orderField)== 'contractpartys' }">class="${pager.orderDirection}"</c:if>>
             邮箱地址
                </th>
          
                   <th width="10%" orderField="representative" <c:if test="${(pager.orderField)== 'representative' }">class="${pager.orderDirection}"</c:if>>
    	代表人
                </th>
                 <th width="10%" orderField="iphone" <c:if test="${(pager.orderField)== 'iphone' }">class="${pager.orderDirection}"</c:if>>
        联系电话   
                </th>
                  <th width="20%" orderField="addres" <c:if test="${(pager.orderField)== 'addres' }">class="${pager.orderDirection}"</c:if>>
 	地址
                </th>
                      <th width="5%">
                    操作
                </th>
            </tr>
        </thead>
        <tbody>
    
        <c:forEach items="${pager.pageRecords}" var="b_T_Ufp_Customer" varStatus="s">
            <tr target="sid_user" rel="1">
                <td>
                    <input name="checkIds" value="${b_T_Ufp_Customer.uuid}" type="checkbox">
                </td>
                 <td>
                  ${s.count +pager.pageSize*(pager.currentPage-1)}
                </td>
                <td>
                    <a title="查 看" href="costomer/CostomerDetailReade?b_T_Ufp_Customer.uuid=${b_T_Ufp_Customer.uuid }" target="navTab"><font color="blue">${b_T_Ufp_Customer.customername}</font></a>
                </td>
                 <td>
                    ${b_T_Ufp_Customer.contractpartys}
                </td>
                  <td>
                    ${b_T_Ufp_Customer.representative}
                </td>
                  <td>
                    ${b_T_Ufp_Customer.iphone}
                </td>
                 <td>
                    ${b_T_Ufp_Customer.addres}
                </td>
                 <td>
                    <a title="删除" target="ajaxTodo" href="costomer/CostomerDel?checkIds=${b_T_Ufp_Customer.uuid}" class="btnDel">删除</a>
                    <a title="编辑" target="navTab" href="costomer/CostomerDetail?b_T_Ufp_Customer.uuid=${b_T_Ufp_Customer.uuid }" rel="editMsg" class="btnEdit">编辑</a>
                </td>
            </tr>
            </c:forEach>
        </tbody>
    </table>
    
    <div class="panelBar">
        <jsp:include page="../include/_dwz_form_bottom.jsp" />
    </div>
</div>
